package com.woniuxy.service.impl;

import com.woniuxy.entity.CarOrder;
import com.woniuxy.mapper.CarOrderMapper;
import com.woniuxy.service.CarOrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class CarOrderServiceImpl implements CarOrderService {
    @Resource
    private CarOrderMapper carOrderMapper;
    @Override
    public int insertCarOrder(CarOrder carOrder) throws Exception {
        return carOrderMapper.insertSelective(carOrder);
    }
}
